//
//  RMMToTopView.m
//  Romomo
//
//  Created by puman on 2017/4/7.
//  Copyright © 2017年 mazegong. All rights reserved.
//

#import "RMMToTopView.h"

@implementation RMMToTopView

- (instancetype)initWithFrame:(CGRect)frame{
    if ([super initWithFrame:frame]) {
        self.backgroundColor = [kBasicColor colorWithAlphaComponent:0.5];
        _topBut = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _topBut.frame = self.bounds;
        [_topBut setTitle:@"Top" forState:(UIControlStateNormal)];
        [_topBut setTitleColor:[UIColor blackColor] forState:(UIControlStateNormal)];
        [self addSubview:_topBut];
    }
    return self;
}
- (void)buttonClick{
    
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
